package com.wugh.fast.kernel.core.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 说明: fast框架全局配置
 *
 * @author wugh
 * @date 2019-01-25 08:39
 */
@Data
@ConfigurationProperties(prefix = FastProperties.PROPERTY_PREFIX)
public class FastProperties {
    public final static String PROPERTY_PREFIX = "com.wugh.fast";
    /**
     * 加密配置
     */
    private EncryptProperties encrypt;
    /**
     * mapper增强配置
     */
    private MapperProperties mapper;
    /**
     * 安全配置
     */
    private SecurityProperties security;
    /**
     * 网页配置
     */
    private WebProperties web;

    public FastProperties() {
        encrypt = new EncryptProperties();
        mapper = new MapperProperties();
        security = new SecurityProperties();
        web = new WebProperties();
    }
}
